package org.baitiaojun.dao;

import org.apache.ibatis.annotations.Param;
import org.baitiaojun.pojo.CheckGroup;

import java.util.List;

public interface CheckGroupMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CheckGroup record);

    int insertSelective(CheckGroup record);

    CheckGroup selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CheckGroup record);

    int updateByPrimaryKey(CheckGroup record);

    /**
     * 根据条件和页码查询检查项
     * @param condition
     * @return
     */
    List<CheckGroup> selectCheckGroupByPageAndCondition(@Param("condition") String condition);

    List<CheckGroup> selectAllCheckGroup();
}